﻿using Furion.Extras.Admin.NET;
using System;
using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application
{
    /// <summary>
    /// 测试A输入参数
    /// </summary>
    public class TestAInput : PageInputBase
    {
        /// <summary>
        /// 文本1
        /// </summary>
        public virtual string Text1 { get; set; }
        
        /// <summary>
        /// 文本2
        /// </summary>
        public virtual string Text2 { get; set; }
        
        /// <summary>
        /// 时间1
        /// </summary>
        public virtual DateTime? Time1 { get; set; }
        
        /// <summary>
        /// 数字
        /// </summary>
        public virtual int? Num { get; set; }
        
    }

    public class AddTestAInput : TestAInput
    {
    }

    public class DeleteTestAInput
    {
        /// <summary>
        /// Id主键
        /// </summary>
        [Required(ErrorMessage = "Id主键不能为空")]
        public long Id { get; set; }
        
    }

    public class UpdateTestAInput : TestAInput
    {
        /// <summary>
        /// Id主键
        /// </summary>
        [Required(ErrorMessage = "Id主键不能为空")]
        public long Id { get; set; }
        
    }

    public class QueryeTestAInput : DeleteTestAInput
    {

    }
}
